projects
/
git-annex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66b8ba8
)
OSX build fix
author
Joey Hess
<joeyh@joeyh.name>
Mon, 17 Feb 2025 18:01:54 +0000
(14:01 -0400)
committer
Joey Hess
<joeyh@joeyh.name>
Mon, 17 Feb 2025 18:01:54 +0000
(14:01 -0400)
Utility/DirWatcher/FSEvents.hs
patch
|
blob
|
history
diff --git
a/Utility/DirWatcher/FSEvents.hs
b/Utility/DirWatcher/FSEvents.hs
index 94451b109d622e15ece120acff3049110aebf8a4..d4e20e9249db34e55946154ae6dc733cade74b09 100644
(file)
--- a/
Utility/DirWatcher/FSEvents.hs
+++ b/
Utility/DirWatcher/FSEvents.hs
@@
-20,7
+20,7
@@
watchDir dir ignored scanevents hooks = do
unlessM fileLevelEventsSupported $
giveup "Need at least OSX 10.7.0 for file-level FSEvents"
scan dir
- eventStreamCreate [dir] 1.0 True True True dispatch
+ eventStreamCreate [
fromOsPath
dir] 1.0 True True True dispatch
where
dispatch evt
| ignoredPath ignored (toOsPath (eventPath evt)) = noop